using NHibernate.Validator.Constraints;
using SharpArch.Core.PersistenceSupport;
using SharpArch.Core.DomainModel;
using System;

namespace gnodotnet.Core.MailingList
{
    public class Recipient : Entity
    {
        public Recipient() { }
		
		[DomainSignature]
		[NotNull, NotEmpty]
		public virtual string Name { get; set; }

		[DomainSignature]
		[NotNull, Email]
		public virtual string Email { get; set; }
    }
}
